{% extends "base.html" %}

{% block content %}

{% if form.errors %}
	<b style="color: red;">You provided bad username or password!</b>
{% endif %}

<form method="post" action="{% url django.contrib.auth.views.login %}">

{% csrf_token %}

{{ form.username.label_tag }}<br />
{{ form.username }}<br />

{{ form.password.label_tag }}<br />
{{ form.password }}<br />

<input type="submit" value="login" />
</form>

{% endblock %}
